package ui.activity.wallet.module;


import dagger.Module;
import dagger.Provides;
import ui.activity.wallet.biz.RewardsDetailsBiz;
import ui.activity.wallet.contract.RewardsDetailsContract;

/**
 * Created by chenjian on 19/2/26
 */
@Module
public class RewardsDetailsModule {
    private RewardsDetailsContract.View view;

    public RewardsDetailsModule(RewardsDetailsContract.View view) {
        this.view = view;
    }

    @Provides
    public RewardsDetailsContract.View provideView() {
        return view;
    }

    @Provides
    public RewardsDetailsBiz provideBiz() {
        return new RewardsDetailsBiz();
    }
}